package com.atguigu.bridge;

/**
 * @author LYJ
 * @Description
 * @date 2021 年 10 月 11 日 下午3:09
 */
public class Client {
    public static void main(String[] args) {
        Phone phone = new FoldedPhone(new XiaoMI());
        phone.call();

        Phone phone1 = new UpRightPhone(new Vivo());
        phone1.call();

        Phone phone2 = new UpRightPhone(new Apple());
        phone2.call();

    }
}
